Creating
Temporary Streams
Temporary
streams can be beneficial in several ways. You can use a temporary stream as a
work stream, for example, when changing the stream format. Or you can create a
temporary stream to hold portions of other streams that have been copied.
You can create
a stream in memory that is not associated with any file by using the AVIStreamCreate
You can
create a compressed stream from an uncompressed stream by using the AVIMakeCompressedStream
When you
finish using a stream created with AVIStreamCreate or AVIMakeCompressedStream,
close the stream by using the AVIStreamRelease205XGN function. AVIStreamRelease frees
the resources the temporary stream used.